<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>查询分类</title>
<link href="../../css/admin/common.css" type="text/css" rel="stylesheet">
	<style type="text/css">
		table{
			text-align: center;
			border-collapse: collapse;
		}
		.bgcolor{
		  	background-color: #ccc;
		}
	</style>
</head>
<body>
	<table border="1" bordercolor="#ccc" >
		<tr>
			<th width="200px">ID</th>
			<th width="400px">名称</th>
            <th width="200px">操作</th>
		</tr>
			<c:forEach items="${categories}" var="category">
                <tr>
                    <td>${category.id}</td>
                    <td>${category.typenameme}</td>
                    <td><a style="color: red" href="/management/category/remove?id=${category.id}">删除</a></td>
                </tr>
            </c:forEach>
	</table>
</body>
</html>
